package com.main.modulemysql.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author IceZhang
 * @since 2018-08-07
 */
@TableName("hjzk_fault_find")
public class HjzkFaultFind extends Model<HjzkFaultFind> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "code", type = IdType.AUTO)
    private String code;
    @TableField("object_code")
    private String objectCode;
    @TableField("category_code")
    private String categoryCode;
    @TableField("fault_code")
    private String faultCode;
    @TableField("find_time")
    private Date findTime;
    @TableField("create_time")
    private String createTime;
    @TableField("update_time")
    private String updateTime;
    @TableField("name")
    private String name;



    public String getFaultName() {
        return faultName;
    }

    public void setFaultName(String faultName) {
        this.faultName = faultName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPileNo() {
        return pileNo;
    }

    public void setPileNo(String pileNo) {
        this.pileNo = pileNo;
    }

    @TableField("pile_no")
    private String  pileNo;
    @TableField("fault_name")
    private String faultName;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getObjectCode() {
        return objectCode;
    }

    public void setObjectCode(String objectCode) {
        this.objectCode = objectCode;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getFaultCode() {
        return faultCode;
    }

    public void setFaultCode(String faultCode) {
        this.faultCode = faultCode;
    }

    public Date getFindTime() {
        return findTime;
    }

    public void setFindTime(Date findTime) {
        this.findTime = findTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.code;
    }

    @Override
    public String toString() {
        return "HjzkFaultFind{" +
        ", code=" + code +
        ", objectCode=" + objectCode +
        ", categoryCode=" + categoryCode +
        ", faultCode=" + faultCode +
        ", findTime=" + findTime +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
